package com.bit.dreamer;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;

public class PsyTestActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_sktest);
		
		Intent intent = this.getIntent();
		String str = intent.getStringExtra("str");
		int num = intent.getIntExtra("num", 0);
		TextView tv_sung = (TextView) findViewById(R.id.tv_sung);
		tv_sung.setText(str);
		
		
		Button btn = (Button) findViewById(R.id.btn_sktest);
		btn.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent intent= new Intent(getApplicationContext(), MainMenuActivity.class);
				startActivity(intent);

			}
		});
		
	}


	
}
